.body-bj{
    background-repeat: no-repeat;
    background-position: center;

}

.tow{
    text-align: center;
    color: red;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial;
    padding: 10px;
    background: #f1f1f1;
}
/* 页眉/Blog 标题 */

.header {
    padding: 100px;
    text-align: center;
    background: #d71a21;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/Home-Page-Background.jpg");
}

/* 杀年猪背景图 */
.Kill-a-pig{
    padding: 200px;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/Young-pig.png");
}

/* 年夜饭背景图 */
.family-reunion-dinner{
    padding: 200px;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/Family.jpg");
}

/* 放鞭炮背景图 */
.Set-off-firecrackers{
    padding: 200px;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/Set-off-firecrackers.png");
}

/* 压岁钱背景图 */
.money{
    padding: 200px;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/money.png");
}

/* 吃汤圆背景图 */
.Eat-dumplings{
    padding: 200px;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/Eat-dumplings.png");
}

/* 附图 */
.Set-off-firecrackers-1{
    padding: 100px;
    text-align: center; 
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/Set-off-firecrackers-1.png")
}

.Set-off-firecrackers-2{
    padding: 50px;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/Eat-dumplings-1.png")
}

.Set-off-firecrackers-3{
    padding: 150px;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/Eat-dumplings-2.png")
}

.Set-off-firecrackers-4{
    padding: 150px;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/Eat-dumplings-3.jpg")
}

.Set-off-firecrackers-5{
    padding: 150px;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/Eat-dumplings-4.jpg")
}

.header h1 {
    font-size: 40px;
}
/* 设置上导航栏的样式 */

.topnav {
    overflow: hidden;
    background-color: #333;
    margin-bottom: 1px;
}

.topna {
    margin-top: 1px;
    overflow: hidden;
    background: #333;
}
/* 设置 topnav 链接的样式 */

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.topna a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
/* 改变鼠标悬停时的颜色 */

.topnav a:hover {
    background-color: #ddd;
    color: black;
    text-decoration: underline;
}

.topna a:hover {
    background-color: #ddd;
    color: black;
    text-decoration: underline;
}
/* 创建两个不相等的彼此并排的浮动列 */
/* 左列 */

.leftcolumn {
    float: left;
    width: 75%;
}
/* 右列 */

.rightcolumn {
    float: left;
    width: 25%;
    background-color: #f1f1f1;
    padding-left: 20px;
}
/* 伪图像 */

.fakeimg {
    background-color: #aaa;
    width: 100%;
    padding: 20px;
}
/* 为文章添加卡片效果 */

.card {
    background-color: white;
    padding: 20px;
    margin-top: 19.5px;
}

/* 清除列之后的浮动 */

.row:after {
    display: table;
    clear: both;
}
/* 页脚 */

.footer {
    padding: 20px;
    text-align: right;
}
/* 响应式布局 - 当屏幕的宽度小于 800 像素时，使两列堆叠而不是并排 */

@media screen and (max-width: 800px) {
    .leftcolumn,
    .rightcolumn {
        width: 100%;
        padding: 0;
    }
}
/* 响应式布局 - 当屏幕的宽度小于 400 像素时，使导航链接堆叠而不是并排 */

@media screen and (max-width: 400px) {
    .topnav a {
        float: none;
        width: 100%;
    }
}

.text-Align{
    text-align: right;
}